/**
 * 
 */
package com.hz.winnie.demands.pojo;

/**
 * @description 用户对象
 * @author winnie
 * @date 2011-4-3
 * @version 1.0
 */
public class User {

    private String userName;
    private String password;
    private String passwordrpt;
    private String newPassword;
    private int id;
    private String role;

    public String getUserName() {
	return userName;
    }

    public void setUserName(String userName) {
	this.userName = userName;
    }

    public String getPassword() {
	return password;
    }

    public void setPassword(String password) {
	this.password = password;
    }

    public int getId() {
	return id;
    }

    public void setId(int id) {
	this.id = id;
    }

    public String getRole() {
	return role;
    }

    public void setRole(String role) {
	this.role = role;
    }

    public String getPasswordrpt() {
	return passwordrpt;
    }

    public void setPasswordrpt(String passwordrpt) {
	this.passwordrpt = passwordrpt;
    }

    public String getNewPassword() {
	return newPassword;
    }

    public void setNewPassword(String newPassword) {
	this.newPassword = newPassword;
    }

    /*
     * (non-Javadoc)
     * 
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
	return "User [id=" + id + ", newPassword=" + newPassword
		+ ", password=" + password + ", passwordrpt=" + passwordrpt
		+ ", role=" + role + ", userName=" + userName + "]";
    }

}
